Fix x86 build.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 28 Feb 2008 15:03:33 +0000 (15:03 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 28 Feb 2008 15:03:33 +0000 (15:03 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/drivers/passthrough/amd/iommu_acpi.c
xen/include/asm-x86/amd-iommu.h

index 48d333165aaebd7f3d6227036ea9dcb6aa353752..332e5d626e48ec1c11bed17ebc5c4e54ecfff3f4 100644 (file)
@@ -40,8 +40,8 @@ static struct amd_iommu * __init find_iommu_from_bdf_cap(
     return NULL;
 }
 
-static void __init reserve_iommu_exclusion_range(struct amd_iommu *iommu,
-           unsigned long base, unsigned long limit)
+static void __init reserve_iommu_exclusion_range(
+    struct amd_iommu *iommu, uint64_t base, uint64_t limit)
 {
     /* need to extend exclusion range? */
     if ( iommu->exclusion_enable )
index 6c373977a3cc1da00146ecf8288779ce520bf944..b680dc38c826d7911b24b5d34f49304e508ab5a3 100644 (file)
@@ -77,8 +77,8 @@ struct amd_iommu {
 
     int exclusion_enable;
     int exclusion_allow_all;
-    unsigned long exclusion_base;
-    unsigned long exclusion_limit;
+    uint64_t exclusion_base;
+    uint64_t exclusion_limit;
 };
 
 struct ivrs_mappings {